from json.tool import *


class JsonObject:
    def __init__(self, d):
        self.__dict__ = d


class Json2Object:
    def __new__(cls, s: str):
        string = s.lower()
        return json.loads(string, object_hook=JsonObject)
